package com.aos.erp.schools.model.coach;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;




@Getter
@Setter
@TableName("T_COACH_PICTURE")
public class CoachPicture implements Serializable {
	private static final long serialVersionUID = 1L;
	

    @TableId(value = "id", type = IdType.INPUT)
    private long id;


    @ApiModelProperty("教练id")
    @TableField("coach_id")
    private long coachId;


    @ApiModelProperty("文件id")
    @TableField("file_id")
    private long fileId;


    @ApiModelProperty("类别 （1：教练驾驶证  2：教练证  3：教练头像）")
    @TableField("type")
    private int type;


    @ApiModelProperty("是否删除（0：否    1：是）")
    @TableField("is_del")
    private int isDel;


    @ApiModelProperty("修改时间")
    @TableField("updated")
    private Date updated;


    @ApiModelProperty("创建时间")
    @TableField("created")
    private Date created;

    @Override
    public String toString() {
        return "CoachPicture{" +
                "id=" + id +
                ", coachId=" + coachId +
                ", fileId=" + fileId +
                ", type=" + type +
                ", isDel=" + isDel +
                ", updated=" + updated +
                ", created=" + created +
                '}';
    }
}
